home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / tib / inputs / jgr.ttx < prev    next >
Text File  |  1989-03-28  |  12KB  |  157 lines

  1. %journal of geophysical research macros
  2. %no citation flag, author, title, etc., pages, date, gov't no., other
  3.  
  4. \Refstd%set general formats for reference list and citations
  5. \def\Volfont{\sl}\def\Citefont{\it}\def\ACitefont{\it}
  6. \Rpunct%control sequences for making name-date citations
  7.    \def\Lcitemark{%mark at left of citation--also sets internal punctuation
  8.       \let\uchyph=1\def\Citebreak{\egroup, \bgroup}\def\Cfont{\Citefont}%
  9.       \def\Citecomma{\egroup; \bgroup\Cfont }\bgroup[\Cfont}%
  10.    \def\Rcitemark{\egroup]}%mark at right of citation
  11.    \def\LAcitemark{%mark at left of alternate citation
  12.       \let\uchyph=1\def\Citebreak{\egroup\ [\bgroup}%
  13.       \def\Cfont{\ACitefont}%
  14.       \def\Citecomma{\egroup], \bgroup\Cfont }\bgroup\Cfont}%
  15.    \def\RAcitemark{\egroup]}%mark at right of alternate citation
  16.    \def\Citehyphen{\egroup--\bgroup\Cfont}%separater for string of citations
  17.    \def\LIcitemark{\egroup}%mark at left of insertion in citation
  18.    \def\RIcitemark{\bgroup\Cfont}%mark at right of insertion in citation
  19.  
  20. \def\journalarticleformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  21.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  22.                 \par\vfil\penalty-200\vfilneg%\filbreak
  23.                 \hangindent3pc\hangafter1%
  24.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  25.        \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  26.         \if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  27.          \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
  28.           \if\Vtest\present\Comma\bgroup\Volfont\Vstr\/\egroup\def\Comma{, }\fi%
  29.            \if\Ntest\present(\bgroup\Nstr\egroup)\def\Comma{, }\fi%
  30.             \if\Ptest\present\Comma\bgroup\Pstr\egroup\def\Comma{, }\fi%
  31.              \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  32.               \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{, }\fi%
  33.                \if\jtest\present\Comma\bgroup\Tomefont\jstr\/\egroup\def\Comma{, }\fi%
  34.                 \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  35.                  \if\ptest\present\Comma\bgroup\pstr\egroup\def\Comma{, }\fi%
  36.                   \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  37.                    \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  38.                     \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  39.                      \vskip3ptplus1ptminus1pt}%\smallskip
  40.  
  41. \def\conferencereportformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  42.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  43.                 \par\vfil\penalty-200\vfilneg%\filbreak
  44.                 \hangindent3pc\hangafter1%
  45.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  46.        \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  47.         \if\Jtest\present\Comma paper presented at \bgroup\Jstr\egroup\def\Comma{, }\fi%
  48.          \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  49.           \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  50.            \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  51.             \vskip3ptplus1ptminus1pt}%\smallskip
  52.  
  53. \def\bookarticleformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  54.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  55.                 \par\vfil\penalty-200\vfilneg%\filbreak
  56.                 \hangindent3pc\hangafter1%
  57.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  58.        \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  59.         \if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  60.          \if\Btest\present\Comma in \bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip, }\fi%
  61.           \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
  62.            \if\Etest\present\Comma edited by \bgroup\Estr\egroup\def\Comma{, }\fi%
  63.             \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
  64.              \if\Vtest\present\Comma\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
  65.               \if\Ntest\present\Comma\bgroup\Volfont\Nstr\egroup\def\Comma{, }\fi%
  66.                \if\Ptest\present\Comma\if\Pcnt\present pp.~\else p.~\fi\Pstr\def\Comma{, }\fi%
  67.                 \if\Itest\present\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  68.                  \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  69.                   \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  70.                    \if\ttest\present. \bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  71.                     \if\btest\present\Comma in \bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi%
  72.                      \if\atest\present\Comma edited by \bgroup\astr\egroup\def\Comma{, }\fi%
  73.                       \if\ptest\present\Comma\if\pcnt\present pp.~\else p.~\fi\pstr\def\Comma{, }\fi%
  74.                        \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
  75.                         \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  76.                          \if\ntest\present\Comma\bgroup\Volfont\nstr\egroup\def\Comma{, }\fi%
  77.                           \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  78.                            \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  79.                             \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  80.                              \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  81.                               \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  82.                                \vskip3ptplus1ptminus1pt}%\smallskip
  83.  
  84. \def\bookformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  85.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  86.                 \par\vfil\penalty-200\vfilneg%\filbreak
  87.                 \hangindent3pc\hangafter1%
  88.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  89.            \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  90.                  \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  91.          \if\Ttest\present\Comma\bgroup\Tomefont\Tstr\/\egroup\def\Comma{\unskip, }%
  92.                \else\if\Btest\present\Comma\bgroup\Tomefont\Bstr\/\egroup\def\Comma{/unskip, }\fi\fi%
  93.            \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
  94.             \if\etest\present\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  95.              \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
  96.               \if\Vtest\present\Comma\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
  97.                \if\Ntest\present\Comma\bgroup\Volfont\Nstr\egroup\def\Comma{, }\fi%
  98.                 \if\Atest\present\if\Itest\present
  99.                         \Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi%
  100.                      \else\if\Etest\present\if\Itest\present
  101.                              \Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi\fi\fi%
  102.                     \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  103.                      \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  104.                       \if\ttest\present\Comma\bgroup\Tomefont\tstr\egroup\def\Comma{, }%
  105.                             \else\if\btest\present\Comma\bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi\fi%
  106.                          \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
  107.                           \if\vtest\present\Comma\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  108.                            \if\ntest\present\Comma\bgroup\Volfont\nstr\egroup\def\Comma{, }\fi%
  109.                             \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  110.                              \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  111.                               \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  112.                                \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  113.                                 \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  114.                                  \vskip3ptplus1ptminus1pt}%\smallskip
  115.  
  116. \def\technicalreportformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  117.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  118.                 \par\vfil\penalty-200\vfilneg%\filbreak
  119.                 \hangindent3pc\hangafter1%
  120.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  121.            \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  122.                  \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  123.          \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  124.           \if\Atest\present\if\Itest\present
  125.                   \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  126.                \else\if\Etest\present\if\Itest\present
  127.                        \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  128.            \if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
  129.             \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  130.              \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  131.                \if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{, }\fi%
  132.                 \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  133.                  \if\rtest\present\Comma\bgroup\rstr\egroup\def\Comma{, }\fi%
  134.                   \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  135.                    \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  136.                     \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  137.                      \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  138.                       \vskip3ptplus1ptminus1pt}%\smallskip
  139.  
  140. \def\otherformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  141.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  142.                 \par\vfil\penalty-200\vfilneg%\filbreak
  143.                 \hangindent3pc\hangafter1%
  144.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  145.             \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  146.                  \else\if\Itest\present\bgroup\authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  147.          \if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{, }\fi%
  148.            \if\Atest\present\if\Itest\present
  149.                    \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  150.                 \else\if\Etest\present\if\Itest\present
  151.                         \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  152.                 \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  153.                  \if\Dtest\present\Comma\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup\def\Comma{, }\fi%
  154.                   \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  155.                    \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  156.                     \vskip3ptplus1ptminus1pt}%\smallskip
  157.